/*
 * @Author: gaojinyu 1593026814@qq.com
 * @Date: 2023-12-29 08:48:37
 * @LastEditors: gaojinyu 1593026814@qq.com
 * @LastEditTime: 2024-01-02 14:35:10
 * @FilePath: \smart-community\src\api\api.js
 * @Description:
 *
 * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
 */
// 告警信息管理
import request from "../utils/request.js";
import axios from "axios";

// iframe页面获取sid
export function getSid(data) {
  // return request({
  //     url: '/dj_embed/wj/data/getSid',
  //     method: 'post',
  //     data
  // })
  return axios({
    url: "/sid/dj_embed/wj/data/getSid",
    method: "post",
    data,
  });
}


// 获取iframe的url链接
export function getUrl(data) {
  return axios({
    url: "/sid/dj_embed/wj/data/getUrl",
    method: "post",
    data,
  });
}
